import request from '@/utils/request'

/**客户关联电表 */
export function linkCustomerToAmmeter(params) {
  return request({
    url: '/wx/ammeter',
    method: 'get',
     params
  })
}
/**客户关联信息汇总 */
export function getCustomerLinkInfo(params) {
  return request({
    url: '/wx/tenant_home',
    method: 'get',
    params
  })
}
/**客户月度电量 */
export function getCustomerMonthlyEnergy(params) {
  return request({
    url: '/wx/user/monthly-power-usage',
    method: 'get',
    params
  })
}
/**客户年度电量 */
export function getCustomerYearlyEnergy(params) {
  return request({
    url: '/wx/user/yearly-power-usage',
    method: 'get',
    params
  })
}